import { Prop } from '@typegoose/typegoose';

export type UserRole = 'admin' | 'account';

export class User {
  @Prop()
  username: string;

  @Prop()
  password: string;

  @Prop()
  role: UserRole;
}
